Activate Forgot Password Feature

In FintechOS, the Forgot Password feature allows users to reset their password and enables FintechOS developers to set the password complexity and to customize the password reset email template.

NOTE  The forgot password feature is disabled by default and the validity of the password reset token is by default 15 minutes.

To activate the forgot password feature, on the server where the FintechOS installation package resides, go to the web.config file and set the following setting:

Copy
<appSettings>
    <add key="feature.reset-password" value="1" />
    ...
</appSettings>

 

In order to send email instructions to users who have requested password reset from the login page, also make sure to include the following settings in the web.config file:

Copy
<add key="SMTP:Port" value="" />
<add key="SMTP:Host" value="" />
<add key="SMTP:EnableSSL" value="" />
<add key="SMTP:User" value="" />
<add key="SMTP:Password" value="" />
<add key="DefaultFromEmail" value="" />

In the web.config file, set the validity of the password reset token by configuring the following key: PasswordResetExpiration. The default value of this key is 15 minutes.

Token expiration after 5 minutes:
Copy
<appSettings>
    <add key="PasswordResetExpiration" value="00:05:00"/>
    ...
</appSettings>